package com.ytjj.qmyx.admin.service;

import com.ytjj.common.api.CommonPage;
import com.ytjj.qmyx.admin.model.request.ChannelAddRequest;
import com.ytjj.qmyx.admin.model.request.ChannelRequest;
import com.ytjj.qmyx.mall.model.Channel;

import java.util.List;

public interface ChannelService {

    List<Channel> selectList();

    CommonPage<Channel> getChannelList(ChannelRequest channelRequest);

    Integer insertChannel(Channel channel);

    void addChannel(ChannelAddRequest addRequest);

    Integer updateChannel(ChannelRequest channelRequest);

    List<Channel> getChannelByPlat(String platform);

    List<Channel> getChannelByPlatform(String platform);

    Channel getChannelInfoByChannel(String channel);

    void removeData(Integer id);

    void removeMoreData(Integer[] ids);

    void insertPromotePlat(ChannelRequest channelRequest);

    Integer inChannelParam(Integer id, String channelParam);

    void updateChannelStatus(Integer channelId, String channelStatus);


    List<Channel> getChannels();
}
